package com.jiakai.cashinterfacemucon.dto;

import com.google.gson.annotations.SerializedName;

import java.io.Serializable;
import java.math.BigDecimal;

public class DetailDto implements Serializable {

    private static final long serialVersionUID = 6464293943243905685L;
    @SerializedName("OrderNO")
    private String orderNo;
    @SerializedName("ItemID")
    private String itemID;
    @SerializedName("ProductCode")
    private String productCode;
    // productId是文档没有的,但是示例有的参数
//    @SerializedName("ProductID")
//    private String productId;
    // ProductPackID是文档没有的,但是示例有的参数
//    @SerializedName("ProductPackID")
//    private String productPackID = "";
    @SerializedName("ProdcutPrice")
    private BigDecimal productPrice;
    @SerializedName("ProductCount")
    private Integer prodcutCount;
    @SerializedName("ProductSDate")
    private String productSDate;
    @SerializedName("ProductEDate")
    private String productEDate;
    @SerializedName("ItemType")
    private String itemType = "";
    @SerializedName("Ecode")
    private String ecode = "";

    public DetailDto() {
    }

    public DetailDto(String orderNo, String itemID, String productCode, String productId, String productPackID, BigDecimal productPrice, Integer prodcutCount, String productSDate, String productEDate, String itemType, String ecode) {
        this.orderNo = orderNo;
        this.itemID = itemID;
        this.productCode = productCode;
//        this.productId = productId;
//        this.productPackID = productPackID;
        this.productPrice = productPrice;
        this.prodcutCount = prodcutCount;
        this.productSDate = productSDate;
        this.productEDate = productEDate;
        this.itemType = itemType;
        this.ecode = ecode;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public String getItemID() {
        return itemID;
    }

    public void setItemID(String itemID) {
        this.itemID = itemID;
    }

    public String getProductCode() {
        return productCode;
    }

    public void setProductCode(String productCode) {
        this.productCode = productCode;
    }

//    public String getProductId() {
//        return productId;
//    }
//
//    public void setProductId(String productId) {
//        this.productId = productId;
//    }
//
//    public String getProductPackID() {
//        return productPackID;
//    }
//
//    public void setProductPackID(String productPackID) {
//        this.productPackID = productPackID;
//    }

    public BigDecimal getProductPrice() {
        return productPrice;
    }

    public void setProductPrice(BigDecimal productPrice) {
        this.productPrice = productPrice;
    }

    public Integer getProdcutCount() {
        return prodcutCount;
    }

    public void setProdcutCount(Integer prodcutCount) {
        this.prodcutCount = prodcutCount;
    }

    public String getProductSDate() {
        return productSDate;
    }

    public void setProductSDate(String productSDate) {
        this.productSDate = productSDate;
    }

    public String getProductEDate() {
        return productEDate;
    }

    public void setProductEDate(String productEDate) {
        this.productEDate = productEDate;
    }

    public String getItemType() {
        return itemType;
    }

    public void setItemType(String itemType) {
        this.itemType = itemType;
    }

    public String getEcode() {
        return ecode;
    }

    public void setEcode(String ecode) {
        this.ecode = ecode;
    }
}
